﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace LUC.Services
{
    public static class Raise
    {
        public static void Error(string message, string title, params object[] args)
        {
            MessageBox.Show(String.Format(message, args), title, MessageBoxButtons.OK, MessageBoxIcon.Error);
        }

        public static DialogResult QuestionYesNoCancel(string message, string title, params object[] args)
        {
            return MessageBox.Show(String.Format(message, args), title, MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question);
        }
		
		public static DialogResult QuestionOKCancel(string message, string title, params object[] args)
		{
			return MessageBox.Show(String.Format(message, args), title, MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
		}
 
	}
}
